package cn.bytepulse.web.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 接口密钥
 *
 * @author jiejiebiezheyang
 * @since 2025-04-08 14:00
 */
@Data
@TableName(value = "api_pems")
public class ApiPems {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公钥
     */
    @TableField(value = "public_pem")
    private String publicPem;

    /**
     * 私钥
     */
    @TableField(value = "private_pem")
    private String privatePem;

    /**
     * 版本名
     */
    @TableField(value = "version")
    private String version;

    /**
     * 创建日期
     */
    @TableField(value = "create_time")
    private Date createTime;
}